﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Selector - Visibility Filter</title>
    <script src="script/jquery-1.3.2.js" type="text/javascript"></script>
    <script language="javascript" type="text/javascript">
        $(document).ready(function() {
    });

    function Show() {
        $("div:hidden").show(3000);
    }

    function Hide() {
        $("div:visible").hide(3000);
    }
    </script>
    <style type="text/css">
    .box
    {
    	border:dashed 1px #000;
    	width:113px;
    	height:113px;
    	margin-right:23px;
    	float:left;
    }
    </style>
</head>
<body>
    <div class="box" style="display:none">
    
    </div>
    <div class="box">
    
    </div>
    <br style="clear:both;"/>
    <input type="button" value="Show" onclick="Show()" />
    <input type="button" value="Hide" onclick="Hide()" />
</body>
</html>
